class Project {
     static hasMany = [tasks: Task, users:User]  
   
     // fields  
     String name  
     Customer customer
	 User createdBy
	 Date dateCreated
   	
     String toString() {  
         return name  
     }  
   
     // constraints  
     static constraints = {  
        name() 
	 	customer() 
        tasks()  
		users()
     }  

}
